
import 'package:flutter/material.dart';
import 'package:favourcate/ui/pages/home/home_content.dart';


class GLHomeScreen extends StatelessWidget {
  const GLHomeScreen({ Key? key }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('美食广场~'),
        //  自定义icon，并打开drawer
        leading: IconButton(
          onPressed: () {
            Scaffold.of(context).openDrawer();
          },
          icon: const Icon(Icons.earbuds)
        )
      ),
      body: GLHomeContent(),
      
    );
  }
}